VtDestroyDialog widgetName
Destroys the dialog specified by widgetName. As a convenience you can pass the name of any descendants of the dialog. That way you can destroy the dialog from a callback without needing to know the name of the dialog. For example:
proc pushButtonCB {cbs} { set w [keylget cbs widget] # w is a reference to the push button VtDestroyDialog $w }